﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bootstrap.MVC.Utils;

namespace Bootstrap.MVC.Widgets
{
    public class ClientEventFactoryBase
    {
        private readonly IEventHandlerModelBase model;

        public ClientEventFactoryBase(IEventHandlerModelBase model)
        {
            Guard.IsNotNull(model, "model");

            this.model = model;

        }

        public virtual ClientEventBuilderBase Add()
        {
            return new ClientEventBuilderBase(model);
        }
    }
}
